<#include "/view/common/command/para.html">
<div ng-app="water.apps.WasteWater.gyfsQyManager.gyfsInfo.monitorStationManager" ng-controller="fsStationManagerController">
	<div id="wwtp_station" class="zs-ibox" style="">
	    	<input type="button" value="新建" class="zs-btn" style="float: right;"ng-click="onCreateClick()">
			    <table class="zs-data-tab" width="100%">
			        <thead>
			            <tr>
			                <th class="head" >监测站点名称</th> 
			                <th class="head" >监测站点编号</th> 
			                <th class="head" >站点地址</th> 
			                <th class="head" >操作</th>
			            </tr>
			        </thead>
			        <tbody>
			            <tr ng-repeat="curRow in stations" class="{{ isDoubleNum($index) ? 'even':'' }}">
			                <td class="center"><a><label ng-bind="curRow.NAME"></label></a></td>
			                <td class="center"><a><label ng-bind="curRow.CODE"></label></a></td>
			                <td class="center"><a><label ng-bind="curRow.POSITION"></label></a></td>
			                <td class="center">
			                	<a style="cursor: pointer" ng-click="onDetailClick(curRow)">详情</a>
			                	&nbsp;
			                	<a style="cursor: pointer" ng-click="onEditClick(curRow)">编辑</a>
			                </td>
			            </tr>
			        </tbody>
			    </table>
	  </div>
	  <div com-dialog width="800" height="420" title="我是标题" ng-model="detailDialog" >
	  		<#include "${viewDir}/WasteWater/gyfsQyManager/gyfsInfo/monitorStation/detail.html">
	  </div>
	  <div com-dialog width="800" height="430" title="我是标题" ng-model="editDialog" >
	  		<#include "${viewDir}/WasteWater/gyfsQyManager/gyfsInfo/monitorStation/edit.html">
	  </div>
	  <div com-dialog width="800" height="430" title="我是标题" ng-model="createDialog" >
	  		<#include "${viewDir}/WasteWater/gyfsQyManager/gyfsInfo/monitorStation/create.html">
	  </div>
  </div>
  